<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<script language="JavaScript">
	function checkIt() {
		var userinput = document.login;
		if (!userinput.id.value) {
			alert("ID를 입력하세요");
			return false;
		}

		if (!userinput.password.value) {
			alert("비밀번호를 입력하세요");
			return false;
		}
	}
</script>

<div id="main" class="site-main">
	<div class="entry-content">
			<center>
			<form name="login" method="post" action="loginUser.html"
								onsubmit="return checkIt()">
								<b>아이디 </b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="id" size="20" />
								<br><br>
								<b>비밀번호 </b>&nbsp;&nbsp;<input type="password" name="passwd" size="20" />
								<br><br>
								<input type="submit" value="로그인" /> &emsp; <input type="reset" value="취소" />
							</form>
			</center>
	</div>
</div>

